home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / HippoDraw / hippo / hippoplotUP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-28  |  1.3 KB  |  50 lines

  1. /*
  2.  * hippowrapsUP.h -- Graphics end for Hippo histogramming package.
  3.  * $Id: hippoplotUP.h,v 3.2 1992/01/28 15:51:04 rensing Rel $
  4.  *
  5.  * Copyright (C)  1991  The Board of Trustees of The Leland Stanford
  6.  * Junior University.  All Rights Reserved.
  7.  *
  8.  * written by Paul Rensing, Apr. 30, 1991
  9.  */
  10.  
  11. #ifndef _HIPPOPLOTUP_H_
  12. #define _HIPPOPLOTUP_H_
  13.  
  14. #define HIPPOPLOTUP_H_RCSID "$Id: hippoplotUP.h,v 3.2 1992/01/28 15:51:04 rensing Rel $"
  15.  
  16. /*
  17.  * prototypes for plot routines.
  18.  */
  19. #include "libplot.h"
  20.  
  21. #include "hippo.h"
  22.  
  23. int initDrvr_UP( FILE *file );
  24.  
  25. int initPlot_UP( rectangle *draw, rectangle *margin, rectangle *user );
  26.  
  27. int endPlot_UP( void );
  28.  
  29. int drawText_UP(char *message, float x, float y, float fontHeight,
  30.         float rotation, char xAlign, char yAlign);
  31.  
  32. int drawXTicks_UP( float *y, int nt, float tickwidth, int side );
  33. int drawYTicks_UP( float *y, int nt, float tickwidth, int side );
  34.  
  35. int drawMag_UP( float x, float y, int mag, float fontSize );
  36.  
  37. int drawPoints_UP(float xy[], int npts, int symbol, float ptsize);
  38.  
  39. int drawLine_UP(float xy[], int npts, linestyle_t ls);
  40.  
  41. int drawYError_UP(float xy[], float err[], int npts);
  42. int drawXError_UP(float xy[], float err[], int npts);
  43.  
  44.  
  45. int drawColor2D_UP( display disp );
  46. int drawLego2D_UP( display disp );
  47.  
  48. #endif                /* end of ifndef _HIPPOPLOTUP_H_ */
  49.  
  50.